home *** CD-ROM | disk | FTP | other *** search
Wrap
XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnnMMMMaaaattttcccchhhh((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnnMMMMaaaattttcccchhhh((((3333XXXX)))) NNNNAAAAMMMMEEEE XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnnMMMMaaaattttcccchhhh - A function that checks for a specified direction component SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS #include <Xm/Xm.h> Boolean XmDirectionMatch (_d_1, _d_2) XmDirection _d_1; XmDirection _d_2; (vvvvooooiiiidddd) VVVVEEEERRRRSSSSIIIIOOOONNNN This page documents Motif 2.1. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnnMMMMaaaattttcccchhhh compares two XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn values. The function returns a Boolean value depending on whether or not the two input values "match." The simplest match is when _d_1 and _d_2 are identical. However, other matches are possible. XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnnMMMMaaaattttcccchhhh attempts to compare specified bits only; nonspecified bits automatically match. For example, suppose that _d_1 equals XXXXmmmmTTTTOOOOPPPP____TTTTOOOO____BBBBOOOOTTTTTTTTOOOOMMMM____RRRRIIIIGGGGHHHHTTTT____TTTTOOOO____LLLLEEEEFFFFTTTT. In this case, the function will return True if _d_2 equals either XXXXmmmmRRRRIIIIGGGGHHHHTTTT____TTTTOOOO____LLLLEEEEFFFFTTTT or XXXXmmmmTTTTOOOOPPPP____TTTTOOOO____BBBBOOOOTTTTTTTTOOOOMMMM. However, the function will return False if _d_2 equals XXXXmmmmTTTTOOOOPPPP____TTTTOOOO____BBBBOOOOTTTTTTTTOOOOMMMM____LLLLEEEEFFFFTTTT____TTTTOOOO____RRRRIIIIGGGGHHHHTTTT, XXXXmmmmBBBBOOOOTTTTTTTTOOOOMMMM____TTTTOOOO____TTTTOOOOPPPP____RRRRIIIIGGGGHHHHTTTT____TTTTOOOO____LLLLEEEEFFFFTTTT, or XXXXmmmmBBBBOOOOTTTTTTTTOOOOMMMM____TTTTOOOO____TTTTOOOOPPPP____LLLLEEEEFFFFTTTT____TTTTOOOO____RRRRIIIIGGGGHHHHTTTT. Note that direction can be thought of as having three components, a horizontal component, a vertical component, and the precedence among them. This means that in addition to the previously mentioned directions, the function will still return False if _d_1 equals XXXXmmmmTTTTOOOOPPPP____TTTTOOOO____BBBBOOOOTTTTTTTTOOOOMMMM____RRRRIIIIGGGGHHHHTTTT____TTTTOOOO____LLLLEEEEFFFFTTTT and _d_2 equals XXXXmmmmRRRRIIIIGGGGHHHHTTTT____TTTTOOOO____LLLLEEEEFFFFTTTT____TTTTOOOOPPPP____TTTTOOOO____BBBBOOOOTTTTTTTTOOOOMMMM. _d_1 Specifies an XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn value. _d_2 Specifies an XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn value. RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEESSSS Returns True if _d_1 "matches" _d_2; otherwise, returns False. RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnn(3), XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnnMMMMaaaattttcccchhhhPPPPaaaarrrrttttiiiiaaaallll(3), XXXXmmmmDDDDiiiirrrreeeeccccttttiiiioooonnnnTTTTooooSSSSttttrrrriiiinnnnggggDDDDiiiirrrreeeeccccttttiiiioooonnnn(3), XXXXmmmmSSSSttttrrrriiiinnnngggg(3), XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDiiiirrrreeeeccccttttiiiioooonnnn(3), and XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDiiiirrrreeeeccccttttiiiioooonnnnTTTTooooDDDDiiiirrrreeeeccccttttiiiioooonnnn(3). Page 1 (printed 4/6/01)